﻿using Model;

namespace IDal
{
    public interface IUserDal
    {
        /// <summary>
        /// 注册
        /// </summary>
        /// <param name="usrInfo">用户表</param>
        /// <returns>返回受影响行数</returns>
        public int AddUser(UsrInfo usrInfo);
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="name">姓名</param>
        /// <param name="pwd">密码</param>
        /// <returns>返回受影响值</returns>
        public int Login(string name, string pwd);
    }
}
